//#include "key.h"

//static unsigned char keynumber = 0;

//unsigned char key_return(void)
//{
//	unsigned char k = 0;
//	k = keynumber;
//	keynumber = 0;
//	return k;
//}

//unsigned char key(void)//按键号获取
//{
//	if(key_4 == 0)
//		return 1;
//	if(key_5 == 0)
//		return 2;
//	if(key_6 == 0)
//		return 3;
//	if(key_7 == 0)
//		return 4;
//	return 0;
//}

//void key_loop(void)//定时器循环扫描
//{
//	static unsigned char now = 0,last = 0;
//	last = now;
//	now = key();
//	if(last && !now)
//		keynumber = last;
//}